crypto/cipher.cbc.blockSize (field)
16 uses
crypto/cipher (current package)
cbc.go#L22: blockSize int
cbc.go#L30: blockSize: b.BlockSize(),
cbc.go#L70: func (x *cbcEncrypter) BlockSize() int { return x.blockSize }
cbc.go#L73: if len(src)%x.blockSize != 0 {
cbc.go#L87: subtle.XORBytes(dst[:x.blockSize], src[:x.blockSize], iv)
cbc.go#L88: x.b.Encrypt(dst[:x.blockSize], dst[:x.blockSize])
cbc.go#L91: iv = dst[:x.blockSize]
cbc.go#L92: src = src[x.blockSize:]
cbc.go#L93: dst = dst[x.blockSize:]
cbc.go#L141: func (x *cbcDecrypter) BlockSize() int { return x.blockSize }
cbc.go#L144: if len(src)%x.blockSize != 0 {
cbc.go#L160: start := end - x.blockSize
cbc.go#L161: prev := start - x.blockSize
cbc.go#L173: prev -= x.blockSize
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |